{template header}

<div class="container">

<div class="row">


<div class="col-md-10">


  
<div class="row">

{loop $arrEvent $key $item}
    <!--
  <div class="col-sm-6 col-md-3">
    <div class="thumbnail">
      <a href="{tsUrl('event','show',array('id'=>$item[eventid]))}"><img src="{if $item[photo]}{php echo tsXimg($item[photo],'event','300','200',$item[path],'1')}{else}{SITE_URL}app/event/skins/default/event.jpg{/if}" alt="{$item[title]}"></a>
      <div class="caption">
        <h3><a href="{tsUrl('event','show',array('id'=>$item[eventid]))}{$mylink}">{$item[title]}</a></h3>
        <p class="c9 f12">开始时间： {php echo date('Y-m-d H:i',$item[starttime])} <br />
结束时间：{php echo date('Y-m-d H:i',$item[endtime])}<br>
            活动费用：{$item['price']}<br>
            活动名额：{if $item['quota']==0}不限{else}{$item['quota']}{/if}<br>
            报名人数：{$item['count_userwish']}<br>
            实到人数：{$item[count_userdo]}  <span style="color:#cccccc;">
        </p>


      </div>
    </div>
  </div>
  -->
    <article class="col-xs-12 col-sm-3 col-md-3 col-lg-3 project-item fadeInLeft delay0d3s">
        <div class="project-panel">
            <a href="{tsUrl('event','show',array('id'=>$item[eventid]))}" target="_blank">
                <div class="project-cover" style="background-image: url({if $item[photo]}{php echo tsXimg($item[photo],'event','300','200',$item[path],'1')}{else}{SITE_URL}app/event/skins/default/event.jpg{/if})">

                </div>
            </a>
            <div class="project-title">
                <a href="{tsUrl('event','show',array('id'=>$item[eventid]))}{$mylink}">{php echo(cututf8($item[title],0,24,true))}</a>
            </div>
            <div class="project-brief">
                开始时间： {php echo date('Y-m-d H:i',$item[starttime])} <br />
                结束时间：{php echo date('Y-m-d H:i',$item[endtime])}<br>
                活动费用：{$item['price']}<br>
                活动名额：{if $item['quota']==0}不限{else}{$item['quota']}{/if}<br>
                报名人数：{$item['count_userwish']}<br>
                实到人数：{$item[count_userdo]}  <span style="color:#cccccc;">

                <br/>

            </div>

        </div>
    </article>
    
{/loop}  
    
    

  
</div>
  



<div class="clear"></div>
<div class="page">{$pageUrl}</div>


</div>

    <div class="col-md-2">

        <p><a class="btn btn-success btn-block" href="{tsUrl('event','add')}">发布活动</a></p>

        <div class="list-group">
            <a class="list-group-item active" href="{tsUrl('event')}">全部</a></li>
            {loop $arrType $key $item}
            <a class="list-group-item" href="{tsUrl('event','type',array(id=>$item[typeid]))}">{$item[typename]}</a>
            {/loop}

        </div>

    </div>

</div>
</div>
{template footer}